<template>
  <div class="g-wrap f-cb">
    <div class="u-title f-cb" style="padding-left: 0">
      <h3><span class="f-ff2">我的歌手（2）</span></h3>
    </div>
    <div class="n-singer j-flag">
      <div class="itm f-cb" v-for="(item , index) in artistData" :key="index">
        <div class="cvr">
          <a href="javascript:;" class="f-ib f-tdn">
            <img
              :src="item.img1v1Url"
            />
          </a>
        </div>
        <div class="cnt">
          <h4 class="tit f-fs2">
            <a href="javascript:;">{{item.name}}</a>
          </h4>
          <p class="s-fc3">{{item.albumSize}}个专辑&nbsp;&nbsp;&nbsp;&nbsp;{{item.mvSize}}个MV</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { sublist } from "../../../network/login";
export default {
    data() {
        return {
            artistData:[]
        }
    },
  created() {
    sublist().then((res) => {
     this.artistData = res.data.data
    });
  },
};
</script>

<style scoped>
.g-wrap {
  padding: 40px;
}
.u-title {
  height: 40px;
  border-bottom: 2px solid #c20c0c;
}
h3 {
  padding: 0px;
  margin: 0px;
}
h4{margin: 0px; padding: 0px;}
.u-title h3 {
  float: left;
  font-size: 24px;
  font-weight: normal;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
}
.f-ff2 {
  font-family: "Microsoft Yahei", Arial, Helvetica, sans-serif;
}

.n-singer {
    margin-bottom: 50px;
}
a {
    text-decoration: none;
    color: #333;
}
.n-singer .itm {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.n-singer .itm .cvr {
    float: left;
    width: 80px;
    height: 80px;
    margin-right: -95px;
}
.f-tdn{
    text-decoration: none;
}
.f-ib {
    display: inline-block;
}
.n-singer .itm .cvr img {
    width: 100%;
    height: 100%;
}
.n-singer .itm .cnt {
    margin-left: 95px;
}
.n-singer .itm h4 {
    height: 21px;
    margin: 10px 0;
    line-height: 21px;
}
.f-fs2 {
    font-size: 16px;
}
p{
    margin-bottom: 20px;
    padding: 0px;
}
.s-fc3 {
    color: #666;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif
}
</style>